export enum AdTargetKeys {
  impressions = '曝光量',
  clicks = '点击量',
  ctr = 'CTR',
  cost = '花费',
  cpc = 'CPC',
  purchasesOrder = '广告总订单量',
  saleAmount = '广告总销售额',
  cvr = 'CVR',
  cpa = 'CPA',
  acos = 'ACOS',
  roas = 'ROAS',
}
export enum AdStatusHandle {
  ENABLED = '启用',
  enabled = '启用',
  PAUSED = '暂停',
  paused = '暂停',
  ARCHIVED = '归档',
  archived = '归档',
}
export enum AdStatus {
  ENABLED = '投放中',
  enabled = '投放中',
  PAUSED = '已暂停',
  paused = '已暂停',
  ARCHIVED = '已归档',
  archived = '已归档',
}
export enum AdTypes {
  SPONSORED_PRODUCTS = '商品广告',
  SPONSORED_BRANDS = '品牌广告',
  SPONSORED_DISPLAY = '展示广告',
}
export enum AdTypesTag {
  SPONSORED_PRODUCTS = 'SP',
  SPONSORED_BRANDS = 'SB',
  SPONSORED_DISPLAY = 'SD',
}
export enum DynamicBudgetStrategy {
  LEGACY_FOR_SALES = '动态竞价-仅降低',
  AUTO_FOR_SALES = '动态竞价-提高和降低',
  MANUAL = '固定竞价',
  RULE_BASED = '基于规则的出价',
  AUTO_V2 = '自动出价',
  MANUAL_V2 = '固定出价',
  OPTIMIZE_FOR_SALES = '动态优化出价-基于广告表现上涨或下降',
  UNKNOWN = '未知',
  LEGACY = '动态出价-仅下降',
}
export enum NegativeKeywordMatchType {
  NEGATIVE_EXACT = '精准匹配',
  NEGATIVEEXACT = '精准匹配',
  NEGATIVE_PHRASE = '词组匹配',
  NEGATIVEPHRASE = '词组匹配',
  NEGATIVE_BROAD = '广泛匹配',
  NEGATIVEBROAD = '广泛匹配',
}
export enum KeywordMatchType {
  EXACT = '精准',
  exact = '精准',
  PHRASE = '词组',
  phrase = '词组',
  BROAD = '广泛',
  broad = '广泛',
  OTHER = '其他',
  other = '其他',
  TARGETING_EXPRESSION = '其他',
  TARGETING_EXPRESSION_PREDEFINED = '其他',
}
export enum PlacementMap {
  PLACEMENT_TOP = '搜索结果顶部(首页)',
  PLACEMENT_PRODUCT_PAGE = '商品页面',
  PLACEMENT_REST_OF_SEARCH = ' 搜索结果的其余位置',
  'Other on-Amazon' = '商品页面',
  'Detail Page on-Amazon' = '搜索结果的其余位置',
  'Top of Search on-Amazon' = '搜索结果顶部(首页)',
}
export enum PlacementToPlacementMap {
  'Other on-Amazon' = 'PLACEMENT_PRODUCT_PAGE',
  'Detail Page on-Amazon' = 'PLACEMENT_REST_OF_SEARCH',
  'Top of Search on-Amazon' = 'PLACEMENT_TOP',
}
export enum MatchType {
  ASIN_SAME_AS = '精准',
  ASIN_EXPANDED_FROM = '扩展',
}
// 创建广告活动草稿箱完成等级
export enum DraftFinishStep {
  INIT = -1,
  CHECK = 0,
  CREATE_CAMPAIGN = 1,
  CREATE_AD_GROUP = 2,
  CREATE_PRODUCT_AD = 3,
  CREATE_KEYWORD = 4,
  CREATE_PRODUCT_TARGETING = 5,
  CREATE_PRODUCT_CATEGORY_TARGETING = 6,
  CREATE_NEGATIVE_KEYWORD = 7,
  CREATE_NEGATIVE_PRODUCT = 8,
  MODIFIED_SP_CAMPAIGN_AUTO_TARGETING = 9,
  END = 10,
}
// 创建广告活动草稿箱完成等级
export enum DraftFinishMap {
  INIT = '草稿',
  CHECK = '校验',
  CREATE_CAMPAIGN = '活动创建',
  CREATE_AD_GROUP = '创建广告组',
  CREATE_PRODUCT_AD = '创建广告产品',
  CREATE_KEYWORD = '创建关键词',
  CREATE_PRODUCT_TARGETING = '创建商品投放',
  CREATE_PRODUCT_CATEGORY_TARGETING = '创建产品分类投放',
  CREATE_NEGATIVE_KEYWORD = '创建否词',
  CREATE_NEGATIVE_PRODUCT = '创建否定产品投放',
  MODIFIED_SP_CAMPAIGN_AUTO_TARGETING = '更新SP广告活动(自动投放)竞价',
  END = '结束',
}
// 策略模板类型
export enum PolicyType {
  BUDGET_POLICY = '分时调整预算',
  BIDDING_POLICY = '分时调整竞价',
  SWITCH_POLICY = '分时启停',
  TARGETING_POLICY = '分时调广告位',
}
// 策略模板类型文字
export enum PolicyTypeText {
  BUDGET_POLICY = '预算',
  BIDDING_POLICY = '竞价',
  SWITCH_POLICY = '状态',
  TARGETING_POLICY = '竞价',
}
// 策略应用投放类型
export enum TargetingType {
  KEYWORD = '关键字',
  PRODUCT_TARGETING = '商品投放',
  CAMPAIGN = '广告活动',
  CAMPAIGN_ADS_TARGETING = '广告位',
}
// 策略模板预算类型
export enum PolicyBudgetType {
  FIXED_BUDGET = '固定预算',
  POLICY_LATEST_BUDGET = '应用策略时的广告预算',
  ADS_LATEST_BUDGET = '每次执行时取亚马逊后台最新预算',
  NULL_BUDGET = '无',
}
// 策略模板预竞价类型
export enum PolicyBidType {
  FIXED_BUDGET = '固定竞价',
  POLICY_LATEST_BUDGET = '应用策略时的广告竞价',
  ADS_LATEST_BUDGET = '每次执行时取亚马逊后台最新竞价',
  NULL_BUDGET = '无',
}
// 策略模板规则类型
export enum PolicyRuleType {
  PERCENTAGE_INCREASE = '按百分比提高',
  FIXED_INCREASE = '按固定值提高',
  PERCENTAGE_DECREASE = '按百分比降低',
  FIXED_DECREASE = '按固定值降低',
  FIXED_VALUE = '直接设置',
}
// 策略模板规则类型
export enum PolicyWeekMap {
  MONDAY = '周一',
  TUESDAY = '周二',
  WEDNESDAY = '周三',
  THURSDAY = '周四',
  FRIDAY = '周五',
  SATURDAY = '周六',
  SUNDAY = '周日',
}
// 搜索词投放目标
export enum SearchTermTargetingObjType {
  PRODUCT = '商品投放',
  CATEGORY = '分类投放',
  AUTO = '自动投放',
  KEYWORD = '关键词投放',
}
// 广告活动头发类型
export enum CampaingTargetingType {
  AUTO = '自动',
  auto = '自动',
  MANUAL = '手动',
  manual = '手动',
}
// 自动投放-投放组
export enum TargetingExpressionTypeMap {
  QUERY_HIGH_REL_MATCHES = '紧密匹配',
  ASIN_SUBSTITUTE_RELATED = '同类商品',
  ASIN_ACCESSORY_RELATED = '关联商品',
  QUERY_BROAD_REL_MATCHES = '宽泛匹配',
}
// 自动投放-投放状态
export enum ServingStatusMap {
  TARGETING_CLAUSE_ARCHIVED = '目标条款存档',
  AD_GROUP_PAUSED = '广告组-已暂停',
  AD_GROUP_POLICING_CREATIVE_REJECTED = '广告组-警务创意被拒',
  CAMPAIGN_OUT_OF_BUDGET = '广告活动-超出预算',
  ADVERTISER_PAYMENT_FAILURE = '广告商付款失败',
  CAMPAIGN_INCOMPLETE = '广告活动-未完成',
  PORTFOLIO_PENDING_START_DATE = '广告组合-待定开始日期',
  PORTFOLIO_ENDED = '广告组合-已结束',
  TARGETING_CLAUSE_STATUS_LIVE = '目标条款状态实时',
  CAMPAIGN_PAUSED = '广告活动-已暂停',
  TARGETING_CLAUSE_PAUSED = '目标条款暂停',
  PORTFOLIO_OUT_OF_BUDGET = '广告组合-超出预算',
  CAMPAIGN_ARCHIVED = '广告活动-已存档',
  ENDED = '结束',
  AD_GROUP_ARCHIVED = '广告组-已存档',
}
// 自动投放-投放状态
export enum LogChangeType {
  CREATED = '创建',
  BUDGET_AMOUNT = '预算金额调整',
  IN_BUDGET = '调整是否在预算中',
  STATUS = '状态',
  END_DATE = '结束时间',
  START_DATE = '开始时间',
  PLACEMENT_GROUP = '调整投放位置组',
  SMART_BIDDING_STRATEGY = '调整竞价策略',
  DEFAULT_BID_AMOUNT = '默认竞价调整',
  BID_AMOUNT = '竞价调整',
  NAME = '名称调整',
}
export enum LogSystemOperation {
  Saas = 'SAAS',
  Amazon = '亚马逊',
}
export enum LogEntityType {
  PORTFOLIO = '广告组合',
  AD = '广告商品',
  NEGATIVE_KEYWORD = '否定关键词',
  KEYWORD = '关键词',
  PRODUCT_TARGETING = '商品投放',
  AD_GROUP = '广告组',
  CAMPAIGN = '广告活动',
}
// 风险处理方式
export enum OperationsType {
  ADJUST = '调整广告',
  PAUSE = '暂停广告',
  CANCEL = '取消风险标识',
}
// 风险处理明细
export enum OperationsAdjustDetailType {
  KEYWORD = '关键词',
  BID = '竞价',
  BUDGET = '预算',
}
